package com.youths.service;

import com.github.pagehelper.PageInfo;

public interface ConsumerInfoService {
    PageInfo getConsumerInfoList(Integer pageNum,Integer id,Integer type,String name,String account);

    PageInfo getAdminInfoList(Integer pageNum,Integer type,String name,String account);

    String resetAdminPassword(Integer adminId);

    String updatePower(Integer adminId, Integer type);

    String updateState(Integer adminId, Integer type);

    String resetConsumerPassword(Integer consumerId);

    String changeAdminPassword(String account, String password, String newPass);

    String createExpert(String account, String name, String company, String title);
}
